<!-- userEditForm.php 用于显示要更新的用户信息的表单。 -->
<!doctype html>
<html>
 <head>
  <meta charset="UTF-8">  
  <title>修改评论信息</title>
 </head>
  <body background="upload/10082202447e3a23df3e842fe8.jpg">
 <?php
  $row=$re[0];
$cid=$row['cid'];
$content=$row['content'] ; 
  $cdate=$row['cdate'] ; 
  $uid=$row['uid'] ; 
  $id=$row['id'] ; 
 ?>

<form method="post"  action="admin.php?c=comments&m=updatecomments"  enctype="multipart/form-data">
<table align="center" border="1" width=500>
<caption>修改评论</caption>
<tr>
  <td width="20%">cid</td>
  <td width="80%">
  <input type="text" name="cid" value=<?php  echo $cid;  ?>>  
  </td>
</tr>
<tr>
  <td>内容：</td>
  <td><input type="text" name="content" size=30  value=<?php  echo $content;  ?>></td>
</tr>
<tr>
  <td>日期：</td>
  <td><input type="text" name="cdate" size=30  value=<?php  echo $cdate;  ?>></td>
</tr>
<tr>
  <td>评论者：</td>
  <td><input type="text" name="uid" size=30  value=<?php  echo $uid;  ?>></td>
</tr>
<tr>
  <td>编号：</td>
  <td><input type="text" name="id" size=30  value=<?php  echo $id;  ?>></td>
</tr>
<tr>
  <td colspan="2">
  <input type="submit" value="提交">
    <input type="reset" value="重置">
  </td>
  </tr>
</table>

</form>
 </body>
</html>